import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import '@/utils/element.js' //引入element-ui
import animated from 'animate.css'  // 引入动画库
import '@/assets/css/base.css'  // 初始化样式
import { lazy } from '@/optimize/lazy.js' // 懒加载
import messagebox from '@/utils/message'
Vue.prototype.$message=messagebox
Vue.directive('lazy',lazy)
Vue.config.productionTip = false
Vue.use(animated)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
